package com.vic.framework.utils;

import java.util.Calendar;

import org.apache.commons.lang3.time.DateFormatUtils;

public class DateUtil {

	private static final Calendar CALENDAR = Calendar.getInstance();
	
	public static final String BASE_PATTERN = "yyyy-MM-dd HH:mm:ss";
	
	public static String now(){
		return DateFormatUtils.format(CALENDAR.getTime(), BASE_PATTERN);
	}

}
